package com.aopcinemas.cinema.model;

import jade.content.Concept;

public class Movie implements Concept {

    private static final long serialVersionUID = 1L;

    private long id;
    private String name;
    private String description;
    private Genre genre;
    private long duration;
    private AgeConstraint ageConstraint;

    public static enum Genre {
        ACTION, COMEDY, DRAMA, SCI_FI, ROMANCE, ANIMATION, HORROR, DOCUMENTARY, THRILLER
    }

    public static enum AgeConstraint {
        G, PG, PG_13, R, NC_17
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Genre getGenre() {
        return genre;
    }

    public void setGenre(Genre genre) {
        this.genre = genre;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public AgeConstraint getAgeConstraint() {
        return ageConstraint;
    }

    public void setAgeConstraint(AgeConstraint ageConstraint) {
        this.ageConstraint = ageConstraint;
    }

    @Override
    public String toString() {
        return name;
    }

}
